﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace SarkothFarmer.Settings
{
    public partial class SettingsWindow : Form
    {
        private SettingsWrapper settingsWrapper;
        public SettingsWindow(SettingsWrapper settingsWrapper)
        {
            this.settingsWrapper = settingsWrapper;
            InitializeComponent(settingsWrapper);
        }

        private void saveButton_Click(object sender, EventArgs e)
        {
            settingsWrapper.SaveSettings();
            settingsWrapper.SaveGlobalSettings();
        }
    }
}
